<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<form action="{:U('Admin/Excel/editHandle')}" method="post">
<table class="table table-striped">
    <tr>

        <th>学籍号</th>
        <th>考号</th>
        <th>班级</th>
        <th>姓名</th>
        <th>平均分</th>
        <th>总分</th>
        <th>合格科目数</th>
        <th>班级等级</th>
        <th>全校等级</th>
        <th>学年</th>
        <th>学期</th>
    </tr>
    <tr>
        <td>{$nati.student_number}</td>
        <td>{$nati.test_number}</td>
        <td>{$nati.class}</td>
        <td>{$nati.student_name}</td>
        <td>{$average}</td>
        <td>{$total_points}</td>
        <td>{$standard}</td>
        <td>{$class_order}</td>
        <td>{$schol_order}</td>
        <td id="y">{$nati.school_year}</td>
        <td id="t">{$nati.term}</td>
    </tr>
    <foreach name="sub_res" item="v">
        <tr>
            <td>{$v.subject}</td>
            <td colspan="9"><input  class="form-control text" maxlength="3" type="text" name="{$v.subject}" value="{$v.result}"></td>
        </tr>
    </foreach>

<tr>
    <td>

    </td>
    <td colspan="9">
        <input type="hidden" name="test_number" value="{$nati.test_number}">
        <input style="width: 200px" type="submit" class="btn btn-primary" value="保存">
    </td>
</tr>
</table>

</form>
<link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/bootstrap/css/button.css" rel="stylesheet">
<script src="__PUBLIC__/bootstrap/js/jquery-1.9.1.js"></script>
<script src="__PUBLIC__/bootstrap/js/bootstrap.js"></script>
</body>
</html>